package cn.lwj.wsClient.control;

import cn.lwj.wsClient.entity.JsonResult;
import cn.lwj.wsClient.service.DemoService;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/demo")
public class DemoControl extends BaseControl {
    @Resource
    private DemoService demoService;

    @ResponseBody
    @RequestMapping("/getFymc")
    public JsonResult getFymc(String fydm) {
        String ajbs = getRequestValue("ajbs");
        //return demoService.getFymc(fydm);
        return JsonResult.responseData(555, "daddwa", ajbs);
    }
}
